// app.js
App({
  onLaunch() {
    // 展示本地存储能力
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs)

    // 登录
    wx.login({
      success: res => {
        // 发送 res.code 到后台换取 openId, sessionKey, unionId
      }
    })
  },
  globalData: {
    userInfo: null,
    orderList:[
      { "id": 0, "name": "工商银行" },
      { "id": 1, "name": "建设银行" },
      { "id": 2, "name": "邮储银行" },
      { "id": 3, "name": "邮储闪光卡" },
      { "id": 4, "name": "邮储胖虎卡" },
      { "id": 5, "name": "中国银行" },
      { "id": 6, "name": "建行生活" },
      { "id": 7, "name": "农业银行" },
      { "id": 8, "name": "云闪付活动" },
      { "id": 9, "name": "微信活动" },
      { "id": 10, "name": "支付宝活动" }
  ],
  order:[{"id":0,"orderListId":0,"money":22,"minMoneny":22.01,"content":"路径：11-11-22，尽快","startTime":1791616530000,"endTime":1791616530000,"stateID":0}],
  state:{
    id:0,stateName:"待领取",
    id:1,startTime:"生效中",
    id:2,startTime:"已使用",
    id:3,startTime:"已过期",
  }

  }
})
